/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.bdd;

import java.io.IOException;

/**
 *
 */
public abstract class SomeSimpleClass {

    protected abstract Object methodOne() throws Exception;

}
class SubClass extends SomeSimpleClass {

    @Override
    public Integer methodOne() throws MyException, OtherIOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
class MyException extends IOException {
    
}

class OtherException extends Exception {

}
class OtherIOException extends IOException {

}